package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceUnitCombineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceUnitCombineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andExtendNameIsNull() {
            addCriterion("extend_name is null");
            return (Criteria) this;
        }

        public Criteria andExtendNameIsNotNull() {
            addCriterion("extend_name is not null");
            return (Criteria) this;
        }

        public Criteria andExtendNameEqualTo(String value) {
            addCriterion("extend_name =", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameNotEqualTo(String value) {
            addCriterion("extend_name <>", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameGreaterThan(String value) {
            addCriterion("extend_name >", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameGreaterThanOrEqualTo(String value) {
            addCriterion("extend_name >=", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameLessThan(String value) {
            addCriterion("extend_name <", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameLessThanOrEqualTo(String value) {
            addCriterion("extend_name <=", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameLike(String value) {
            addCriterion("extend_name like", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameNotLike(String value) {
            addCriterion("extend_name not like", value, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameIn(List<String> values) {
            addCriterion("extend_name in", values, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameNotIn(List<String> values) {
            addCriterion("extend_name not in", values, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameBetween(String value1, String value2) {
            addCriterion("extend_name between", value1, value2, "extendName");
            return (Criteria) this;
        }

        public Criteria andExtendNameNotBetween(String value1, String value2) {
            addCriterion("extend_name not between", value1, value2, "extendName");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Byte value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Byte value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Byte value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Byte value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Byte value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Byte value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Byte> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Byte> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Byte value1, Byte value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Byte value1, Byte value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeIsNull() {
            addCriterion("place_unit_type is null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeIsNotNull() {
            addCriterion("place_unit_type is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeEqualTo(String value) {
            addCriterion("place_unit_type =", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeNotEqualTo(String value) {
            addCriterion("place_unit_type <>", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeGreaterThan(String value) {
            addCriterion("place_unit_type >", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeGreaterThanOrEqualTo(String value) {
            addCriterion("place_unit_type >=", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeLessThan(String value) {
            addCriterion("place_unit_type <", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeLessThanOrEqualTo(String value) {
            addCriterion("place_unit_type <=", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeLike(String value) {
            addCriterion("place_unit_type like", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeNotLike(String value) {
            addCriterion("place_unit_type not like", value, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeIn(List<String> values) {
            addCriterion("place_unit_type in", values, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeNotIn(List<String> values) {
            addCriterion("place_unit_type not in", values, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeBetween(String value1, String value2) {
            addCriterion("place_unit_type between", value1, value2, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTypeNotBetween(String value1, String value2) {
            addCriterion("place_unit_type not between", value1, value2, "placeUnitType");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureIsNull() {
            addCriterion("place_unit_texture is null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureIsNotNull() {
            addCriterion("place_unit_texture is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureEqualTo(String value) {
            addCriterion("place_unit_texture =", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureNotEqualTo(String value) {
            addCriterion("place_unit_texture <>", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureGreaterThan(String value) {
            addCriterion("place_unit_texture >", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureGreaterThanOrEqualTo(String value) {
            addCriterion("place_unit_texture >=", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureLessThan(String value) {
            addCriterion("place_unit_texture <", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureLessThanOrEqualTo(String value) {
            addCriterion("place_unit_texture <=", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureLike(String value) {
            addCriterion("place_unit_texture like", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureNotLike(String value) {
            addCriterion("place_unit_texture not like", value, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureIn(List<String> values) {
            addCriterion("place_unit_texture in", values, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureNotIn(List<String> values) {
            addCriterion("place_unit_texture not in", values, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureBetween(String value1, String value2) {
            addCriterion("place_unit_texture between", value1, value2, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitTextureNotBetween(String value1, String value2) {
            addCriterion("place_unit_texture not between", value1, value2, "placeUnitTexture");
            return (Criteria) this;
        }

        public Criteria andLightTypeIsNull() {
            addCriterion("light_type is null");
            return (Criteria) this;
        }

        public Criteria andLightTypeIsNotNull() {
            addCriterion("light_type is not null");
            return (Criteria) this;
        }

        public Criteria andLightTypeEqualTo(String value) {
            addCriterion("light_type =", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeNotEqualTo(String value) {
            addCriterion("light_type <>", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeGreaterThan(String value) {
            addCriterion("light_type >", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeGreaterThanOrEqualTo(String value) {
            addCriterion("light_type >=", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeLessThan(String value) {
            addCriterion("light_type <", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeLessThanOrEqualTo(String value) {
            addCriterion("light_type <=", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeLike(String value) {
            addCriterion("light_type like", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeNotLike(String value) {
            addCriterion("light_type not like", value, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeIn(List<String> values) {
            addCriterion("light_type in", values, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeNotIn(List<String> values) {
            addCriterion("light_type not in", values, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeBetween(String value1, String value2) {
            addCriterion("light_type between", value1, value2, "lightType");
            return (Criteria) this;
        }

        public Criteria andLightTypeNotBetween(String value1, String value2) {
            addCriterion("light_type not between", value1, value2, "lightType");
            return (Criteria) this;
        }

        public Criteria andFieldScaleIsNull() {
            addCriterion("field_scale is null");
            return (Criteria) this;
        }

        public Criteria andFieldScaleIsNotNull() {
            addCriterion("field_scale is not null");
            return (Criteria) this;
        }

        public Criteria andFieldScaleEqualTo(String value) {
            addCriterion("field_scale =", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleNotEqualTo(String value) {
            addCriterion("field_scale <>", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleGreaterThan(String value) {
            addCriterion("field_scale >", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleGreaterThanOrEqualTo(String value) {
            addCriterion("field_scale >=", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleLessThan(String value) {
            addCriterion("field_scale <", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleLessThanOrEqualTo(String value) {
            addCriterion("field_scale <=", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleLike(String value) {
            addCriterion("field_scale like", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleNotLike(String value) {
            addCriterion("field_scale not like", value, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleIn(List<String> values) {
            addCriterion("field_scale in", values, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleNotIn(List<String> values) {
            addCriterion("field_scale not in", values, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleBetween(String value1, String value2) {
            addCriterion("field_scale between", value1, value2, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andFieldScaleNotBetween(String value1, String value2) {
            addCriterion("field_scale not between", value1, value2, "fieldScale");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Short value) {
            addCriterion("priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Short value) {
            addCriterion("priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Short value) {
            addCriterion("priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Short value) {
            addCriterion("priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Short value) {
            addCriterion("priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Short value) {
            addCriterion("priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Short> values) {
            addCriterion("priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Short> values) {
            addCriterion("priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Short value1, Short value2) {
            addCriterion("priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Short value1, Short value2) {
            addCriterion("priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andIsSignIsNull() {
            addCriterion("is_sign is null");
            return (Criteria) this;
        }

        public Criteria andIsSignIsNotNull() {
            addCriterion("is_sign is not null");
            return (Criteria) this;
        }

        public Criteria andIsSignEqualTo(Byte value) {
            addCriterion("is_sign =", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignNotEqualTo(Byte value) {
            addCriterion("is_sign <>", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignGreaterThan(Byte value) {
            addCriterion("is_sign >", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_sign >=", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignLessThan(Byte value) {
            addCriterion("is_sign <", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignLessThanOrEqualTo(Byte value) {
            addCriterion("is_sign <=", value, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignIn(List<Byte> values) {
            addCriterion("is_sign in", values, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignNotIn(List<Byte> values) {
            addCriterion("is_sign not in", values, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignBetween(Byte value1, Byte value2) {
            addCriterion("is_sign between", value1, value2, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsSignNotBetween(Byte value1, Byte value2) {
            addCriterion("is_sign not between", value1, value2, "isSign");
            return (Criteria) this;
        }

        public Criteria andIsCombineIsNull() {
            addCriterion("is_combine is null");
            return (Criteria) this;
        }

        public Criteria andIsCombineIsNotNull() {
            addCriterion("is_combine is not null");
            return (Criteria) this;
        }

        public Criteria andIsCombineEqualTo(Byte value) {
            addCriterion("is_combine =", value, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineNotEqualTo(Byte value) {
            addCriterion("is_combine <>", value, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineGreaterThan(Byte value) {
            addCriterion("is_combine >", value, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_combine >=", value, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineLessThan(Byte value) {
            addCriterion("is_combine <", value, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineLessThanOrEqualTo(Byte value) {
            addCriterion("is_combine <=", value, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineIn(List<Byte> values) {
            addCriterion("is_combine in", values, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineNotIn(List<Byte> values) {
            addCriterion("is_combine not in", values, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineBetween(Byte value1, Byte value2) {
            addCriterion("is_combine between", value1, value2, "isCombine");
            return (Criteria) this;
        }

        public Criteria andIsCombineNotBetween(Byte value1, Byte value2) {
            addCriterion("is_combine not between", value1, value2, "isCombine");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCombineRuleIsNull() {
            addCriterion("combine_rule is null");
            return (Criteria) this;
        }

        public Criteria andCombineRuleIsNotNull() {
            addCriterion("combine_rule is not null");
            return (Criteria) this;
        }

        public Criteria andCombineRuleEqualTo(String value) {
            addCriterion("combine_rule =", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleNotEqualTo(String value) {
            addCriterion("combine_rule <>", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleGreaterThan(String value) {
            addCriterion("combine_rule >", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleGreaterThanOrEqualTo(String value) {
            addCriterion("combine_rule >=", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleLessThan(String value) {
            addCriterion("combine_rule <", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleLessThanOrEqualTo(String value) {
            addCriterion("combine_rule <=", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleLike(String value) {
            addCriterion("combine_rule like", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleNotLike(String value) {
            addCriterion("combine_rule not like", value, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleIn(List<String> values) {
            addCriterion("combine_rule in", values, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleNotIn(List<String> values) {
            addCriterion("combine_rule not in", values, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleBetween(String value1, String value2) {
            addCriterion("combine_rule between", value1, value2, "combineRule");
            return (Criteria) this;
        }

        public Criteria andCombineRuleNotBetween(String value1, String value2) {
            addCriterion("combine_rule not between", value1, value2, "combineRule");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsIsNull() {
            addCriterion("base_units is null");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsIsNotNull() {
            addCriterion("base_units is not null");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsEqualTo(String value) {
            addCriterion("base_units =", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsNotEqualTo(String value) {
            addCriterion("base_units <>", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsGreaterThan(String value) {
            addCriterion("base_units >", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsGreaterThanOrEqualTo(String value) {
            addCriterion("base_units >=", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsLessThan(String value) {
            addCriterion("base_units <", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsLessThanOrEqualTo(String value) {
            addCriterion("base_units <=", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsLike(String value) {
            addCriterion("base_units like", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsNotLike(String value) {
            addCriterion("base_units not like", value, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsIn(List<String> values) {
            addCriterion("base_units in", values, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsNotIn(List<String> values) {
            addCriterion("base_units not in", values, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsBetween(String value1, String value2) {
            addCriterion("base_units between", value1, value2, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andBaseUnitsNotBetween(String value1, String value2) {
            addCriterion("base_units not between", value1, value2, "baseUnits");
            return (Criteria) this;
        }

        public Criteria andSubunitNumIsNull() {
            addCriterion("subUnit_num is null");
            return (Criteria) this;
        }

        public Criteria andSubunitNumIsNotNull() {
            addCriterion("subUnit_num is not null");
            return (Criteria) this;
        }

        public Criteria andSubunitNumEqualTo(Integer value) {
            addCriterion("subUnit_num =", value, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumNotEqualTo(Integer value) {
            addCriterion("subUnit_num <>", value, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumGreaterThan(Integer value) {
            addCriterion("subUnit_num >", value, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("subUnit_num >=", value, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumLessThan(Integer value) {
            addCriterion("subUnit_num <", value, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumLessThanOrEqualTo(Integer value) {
            addCriterion("subUnit_num <=", value, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumIn(List<Integer> values) {
            addCriterion("subUnit_num in", values, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumNotIn(List<Integer> values) {
            addCriterion("subUnit_num not in", values, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumBetween(Integer value1, Integer value2) {
            addCriterion("subUnit_num between", value1, value2, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andSubunitNumNotBetween(Integer value1, Integer value2) {
            addCriterion("subUnit_num not between", value1, value2, "subunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumIsNull() {
            addCriterion("baseUnit_num is null");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumIsNotNull() {
            addCriterion("baseUnit_num is not null");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumEqualTo(Integer value) {
            addCriterion("baseUnit_num =", value, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumNotEqualTo(Integer value) {
            addCriterion("baseUnit_num <>", value, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumGreaterThan(Integer value) {
            addCriterion("baseUnit_num >", value, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("baseUnit_num >=", value, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumLessThan(Integer value) {
            addCriterion("baseUnit_num <", value, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumLessThanOrEqualTo(Integer value) {
            addCriterion("baseUnit_num <=", value, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumIn(List<Integer> values) {
            addCriterion("baseUnit_num in", values, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumNotIn(List<Integer> values) {
            addCriterion("baseUnit_num not in", values, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumBetween(Integer value1, Integer value2) {
            addCriterion("baseUnit_num between", value1, value2, "baseunitNum");
            return (Criteria) this;
        }

        public Criteria andBaseunitNumNotBetween(Integer value1, Integer value2) {
            addCriterion("baseUnit_num not between", value1, value2, "baseunitNum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}